<?php
Zend_Loader::loadClass("Model");

class Output_Time extends Model
{
	protected $_use_adapter = "output";
	protected $_name   = 'Time';
	protected $_primary = "TimeIndex";

	protected $_dependentTables = array(
		'ReportMeterData',
		'ReportVariableData',
	);

	protected $_referenceMap = array(
		'happens_at' => array(
			'columns'           => 'EnvironmentPeriodIndex',
			'refTableClass'     => 'EnvironmentPeriods',
			'refColumns'        => 'EnvironmentPeriodIndex'
		)
	);

}


?>